package com.subsequent.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 医生信息表
 * @TableName doctors
 */
@TableName(value ="doctors")
@Data
public class Doctors implements Serializable {
    /**
     * 医生ID
     */
    @TableId(type = IdType.AUTO)
    private Integer doctorId;

    /**
     * 关联用户ID
     */
    private Integer userId;

    /**
     * 所属科室ID
     */
    private Integer deptId;

    /**
     * 医生姓名
     */
    private String doctorName;

    /**
     * 性别
     */
    private Integer gender;

    /**
     * 出生日期
     */
    private Date birthDate;

    /**
     * 职称
     */
    private String title;

    /**
     * 专长领域
     */
    private String specialty;

    /**
     * 详细介绍
     */
    private String introduction;

    /**
     * 照片URL
     */
    private String photo;

    /**
     * 二维码名片URL
     */
    private String qrCode;

    /**
     * 问诊费用
     */
    private BigDecimal consultationFee;

    /**
     * 挂号费用
     */
    private BigDecimal registrationFee;

    /**
     * 状态：0-停诊 1-坐诊
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createdAt;

    /**
     * 更新时间
     */
    private Date updatedAt;
    private String phone;
    private String fuwu;
    private Integer hospitalsId;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    @TableField(exist = false)
    private Hospitals hospitals;
    @TableField(exist = false)
    private Departments departments;
}